package com.zf.museum.repository;

import com.zf.museum.model.Message;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;


@Repository
public interface MessageRepository extends JpaRepository<Message,Long>{

    Message getMessageByNumber(Integer number);
}
